import QtQuick 2.2


Rectangle {
    id:mainform;
    width: 100
    height: 100

    Rectangle {
        id:button
        x:12;y:12;
        width: parent.width;
        height: parent.height/2;
        color: "lightsteelblue";
        border.color: "slategrey"

        Text {
            anchors.centerIn: parent
            text: qsTr("Start")
        }

        MouseArea {
            anchors.fill: parent;
            onClicked: {
                status.text = "Clicked!"
            }
        }
    }

    Text {
        id: status
        text: qsTr("waiting")
        x:12;y:76;
        horizontalAlignment: Text.AlignHCenter
    }
}
